#include #include #include #include using namespace std; void main(int argc, char* argv[]) { if(argc <= 1) { cout << "Usage: concordance word ...\nSearches bible.txt for any verses that contain one of the words provided.\nResults will be added to the end of concordance.txt."; } else { for(int i = 0; i < argc; i ++) { cout << "\"" << argv[i] << "\" "; } } cout << "\n\n|-------------------------------|\n|"; for(int i = 0; i < 31098; i++) { if(i%1000 == 0) { cout << "*"; } } //ifstream fin("example7.cpp"); //ofstream fout("out.cpp"); //string line; //while(!fin.eof()) //{ // getline(fin,line); // fout << line << endl; //} //fin.close(); //fout.close(); }